#pragma once
#include "OrganInstrument.h"
#include <vector>

class COrganFactory
{
public:
	COrganFactory(void);
	~COrganFactory(void);

	COrganInstrument* CreateInstrument();
	void SetNote(CNote *note);
	void SetDrawbars(int drawbarNum);

	int m_drawbarNum;
	vector<int> m_harmonics;
	vector<double> m_drawbars;
	double m_amps;

	double m_VibratoFrequency;
	double m_VibratoMagnitude;

	double m_LeslieFrequency;
	double m_LeslieStartFrequency;
	double m_LeslieEndFrequency;
	double m_LeslieRadius;
	double m_LeslieAttackTime;
	double m_LeslieReleaseTime;
	bool m_changeleslie;
};
